<template>
  <div>
    御剑乘风来,除魔天地间!====router-link
    <hr>
{{obj.id}}======{{obj.name}}
<hr>
{{obj2.id}}======{{obj2.name}}
  </div>
</template>
<script>
export default {
  name: "",
  data() {
    return {
      obj: {},
      obj2: {}
    };
  },
  props: {
    postId: {
    
    }
  },
  created() {
    // console.log(this.$route.query);
    // console.log(this.$route.params);
    // console.log(this.$router);
    // console.log(this.$route);
    this.obj = this.$route.params;
    this.obj2=this.$route.query
    console.log(this.postId)
  },
  computed: {},
  methods: {},
};
</script>
<style lang='less'  scoped>
</style>
